package com.cmc6.notify.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cmc6.common.model.entity.NotifyDO;
import com.cmc6.notify.model.dto.NotifyPageDTO;
import com.cmc6.notify.model.vo.NotifyPageVO;
import org.apache.ibatis.annotations.Param;

public interface NotifyMapper extends BaseMapper<NotifyDO> {

    // 分页排序查询：当前用户，通知
    Page<NotifyPageVO> userPage(Page<NotifyPageVO> page, @Param("dto") NotifyPageDTO dto,
        @Param("userIdSafe") Long userIdSafe);

}




